

<?php if( $this->paginator->getTotalItemCount() > 0 ): ?>
  <ul class='blogs_browse'>
  <?php foreach ($this->paginator as $def): ?>
    <li>
		<div class='blogs_browse_info'>
        <p class='blogs_browse_info_title'>   
          <?php echo $this->htmlLink($def->getHref(), $def->getTitle()) ?>
        </p>
        <p class='blogs_browse_info_date'>
          <?php echo $this->translate('Posted by');?> <?php echo $this->htmlLink(Engine_Api::_()->getItem('user', $def->sender_id)->getHref(), Engine_Api::_()->getItem('user', $def->sender_id)->getTitle()) ?> <?php echo $this->timestamp($def->creation_date) ?>
        </p>
        <p class='blogs_browse_info_blurb'>
            <?php echo $def->description; ?>
        </p>
      </div>
    </li>
  <?php endforeach; ?>
  </ul>

<?php endif; ?>

<?php echo $this->paginationControl($this->paginator, null, null, array(
  'pageAsQuery' => true,
  'query' => $this->formValues,
  //'params' => $this->formValues,
)); ?>
